package com.fsy.mapper;

import com.fsy.entities.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【book】的数据库操作Mapper
* @createDate 2022-03-15 10:27:51
* @Entity com.fsy.entities.Book
*/
@Mapper
public interface BookMapper extends BaseMapper<Book> {
    /**
     * 查询全部图书
     * @param book
     * @return
     */
    public List<Book> findByBook(Book book);

    /**
     * 查询全部图书条数
     * @param book
     * @return
     */
    public int selectBookCounts(Book book);


}




